public class Demo4 {
    public static void main(String[] args) {
        double scores2[] = {90,92,5,95,5,100};
        double min = scores2[0];
        for (int i =0; i < scores2.length; i++) {
            if (scores2[i] < min){
                min = scores2[i];
            }
        }
        System.out.println("数组中最小值是：" +min);
    }
}